<h1>Градови</h1>

<table>
<?php echo $html->tableHeaders(array("Град","Код")); ?>

<?php foreach($cities as $city): ?>
	
	<?php //var_dump($city); ?>
	
	<?php 
	
		echo $html->tableCells(
					array(
						$html->link($city['City']['name'],array('action'=>'details','city'=>$city['City']['id'])) ,
						$city['City']['code']
					)
				); 
	?>

<?php endforeach; ?>
</table>